#include "idc.h"
class XD_AIGroupDialog {
	idd = -1;
	movingEnable = 1;
	onLoad = "uiNamespace setVariable ['X_AI_GROUP_DIALOG', _this select 0]";
	objects[] = {};
	class controlsBackground {
		class XD_BackGround : XC_RscText {
			idc = -1;
			type = 0;
			style = 48;
			x = 0;
			y = 0;
			w = 1.93;
			h = 1.3;
			XCTextBlack;
			colorBackground[] = {0,0,0,0};
			text = "\ca\ui\data\ui_mainmenu_background_ca.paa";
			font = "Zeppelin32";
			sizeEx = 0.032;
		};
	};	
	class controls {
		class XD_FactionCaption : XC_RscText {
			idc = 23001;
			x = 0.12;
			y = 0.25;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = $STR_DIAG_GROUP_FACTION;
		};
		class XD_FactionHint : XC_RscText {
			idc = 23002;
			x = 0.12;
			y = 0.268;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.010;
			colorBackground[] = {1, 1, 1, 0};
			colorText[] = {0.5, 0.5, 0.5, 0.8};
			text = $STR_DIAG_GROUP_FACTION_HELP;
		};
		class FactionCombo:XD_UIComboBox {
			idc = 23003;
			x = 0.125;
			y = 0.326;
			w = 0.17;
			h = 0.03;
			onLBSelChanged = "[_this,0] execVM 'client\groupselchanged.sqf'"; 
		};
		class XD_GroupTypeCaption : XC_RscText {
			idc = 23004;
			x = 0.12;
			y = 0.35;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = $STR_DIAG_GROUP_GROUP;
		};
		class XD_GroupTypeHint : XC_RscText {
			idc = 23005;
			x = 0.12;
			y = 0.368;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.010;
			colorBackground[] = {1, 1, 1, 0};
			colorText[] = {0.5, 0.5, 0.5, 0.8};
			text = $STR_DIAG_GROUP_GROUP_HELP;
		};
		class GroupTypeCombo:XD_UIComboBox {
			idc = 23006;
			x = 0.125;
			y = 0.426;
			w = 0.17;
			h = 0.03;
			onLBSelChanged = "[_this,1] execVM 'client\groupselchanged.sqf'"; 
		};
		class UnitTypeCaption : XC_RscText {
			idc = 23007;
			x = 0.12;
			y = 0.45;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = $STR_DIAG_GROUP_UNIT;
		};
		class UnitTypeHint : XC_RscText {
			idc = 23008;
			x = 0.12;
			y = 0.468;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.010;
			colorBackground[] = {1, 1, 1, 0};
			colorText[] = {0.5, 0.5, 0.5, 0.8};
			text = $STR_DIAG_GROUP_UNIT_HELP;
		};
		class UnitTypeCombo:XD_UIComboBox {
			idc = 23009;
			x = 0.125;
			y = 0.526;
			w = 0.17;
			h = 0.03;
			onLBSelChanged = "[_this,2] execVM 'client\groupselchanged.sqf'"; 
		};
		class XD_UnitsListbox : SXRscListBox {
			idc = 23010;
			x = 0.35;
			y = 0.15;
			w = 0.45;
			h = 0.50;
			sizeEx = 0.023;
			rowHeight = 0.02;
			borderSize = 1;
		};
		class XD_AddUnit: XD_ButtonBase {
			idc = 23011;
			text = $STR_DIAG_GROUP_ADD;
			action = "[] call XfGroupDialogAddUnit;";
			x = 0.125;
			y = 0.566;
		};
		class XD_CloseButton: XD_ButtonBase {
			idc = -1;
			text = $STR_DIAG_SET_CLOSE; 
			action = "closeDialog 0";
			default = true;
			x = 0.68;
			y = 0.945;
		};
		class XD_CreateButton: XD_ButtonBase {
			idc = -1;
			text = $STR_DIAG_GROUP_CREATE; 
			action = "[] call XfGroupDialogCreateGroup; closeDialog 0;";
			default = false;
			x = 0.12;
			y = 0.945;
		};
		class XD_MainCaption : XC_RscText {
			x = 0.12;
			y = 0.05;
			w = 0.50;
			h = 0.1;
			sizeEx = 0.035;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = $STR_DIAG_GROUP_TITLE;
		};
	};
};